<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 300px;
				height: 100px;
				border: 1px solid pink;
				text-align: center;
				margin: 10px auto;
				line-height: 100px;
			}
			section {
				width: 400px;
				height: 400px;
				border: 1px solid black;
			}
			section img {
				width: 200px;
				height: 210px;
				margin-top: 30px;
				margin-left: 50px;
				display: block;
				margin: 10px auto;
			}
			aside {
				width: 400px;
				height: 400px;
				border: 1px solid purple;
				background: url(images/sun.jpg) 30px 50px no-repeat;
				background-size: 200px 210px;
			}
		</style>
	</head>
	<body>
		1. 文字水平居中 和 盒子水平居中
		
		<div>文字水平居中</div>
		
		2. 插入图片和背景图片
		
		<section>
			<img src="images/sun.jpg" >
		</section>
		
		<aside>
			
		</aside>
	</body>
</html>
